<#if servicePackage!="">
package ${servicePackage};
</#if>

<#if entityPackage!="">
import ${entityPackage}.${className};
</#if>
import java.util.List;

/**
* Created by ${author} on ${date}.
*/
public interface ${className}Service {

  ${className} findById(final Object id);

  List<${className}> findAll();

  void save(final ${className} entity);

  ${className} update(final ${className} entity);

  void delete(final ${className} entity);

}
